﻿<UserControl xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"  x:Class="RadiantQCommunityControls.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:radiantq="clr-namespace:RadiantQCommunityControls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
  <Grid x:Name="LayoutRoot">
    <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
        <TextBlock Margin="5" FontWeight="Bold" Text="DataGrid with movable rows:"></TextBlock>
        <TextBlock Margin="5" Text="Select rows(s) and move the mouse over the row header of the top selected row and start dragging!"></TextBlock>
        <radiantq:DataGridMovableRows x:Name="dataGrid1" RowsMoved="dataGrid1_RowsMoved" BeforeMovingRows="dataGrid1_BeforeMovingRows"  Width="500" Height="500" ></radiantq:DataGridMovableRows>
    </StackPanel>
  </Grid>
</UserControl>
